@azure/eventgrid 5.1.0-alpha.20240116.2 → 5.1.0-alpha.20240117.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +241 -564
- package/dist/index.js.map +1 -1
- package/dist-esm/src/consumer.js +1 -1
- package/dist-esm/src/consumer.js.map +1 -1
- package/dist-esm/src/eventGridClient.js +8 -14
- package/dist-esm/src/eventGridClient.js.map +1 -1
- package/dist-esm/src/generateSharedAccessSignature.js +1 -1
- package/dist-esm/src/generateSharedAccessSignature.js.map +1 -1
- package/dist-esm/src/generated/generatedClientContext.js +2 -7
- package/dist-esm/src/generated/generatedClientContext.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +229 -541
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var coreAuth = require('@azure/core-auth');
|
6
|
+
var tslib = require('tslib');
|
6
7
|
var coreClient = require('@azure/core-client');
|
7
8
|
var coreTracing = require('@azure/core-tracing');
|
8
9
|
var uuid = require('uuid');
|
@@ -7961,181 +7962,146 @@ const EventGridMqttClientCreatedOrUpdatedEventData = {
|
|
7961
7962
|
type: {
|
7962
7963
|
name: "Composite",
|
7963
7964
|
className: "EventGridMqttClientCreatedOrUpdatedEventData",
|
7964
|
-
modelProperties: {
|
7965
|
-
...EventGridMqttClientEventData.type.modelProperties,
|
7966
|
-
state: {
|
7965
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { state: {
|
7967
7966
|
serializedName: "state",
|
7968
7967
|
required: true,
|
7969
7968
|
type: {
|
7970
7969
|
name: "String"
|
7971
7970
|
}
|
7972
|
-
},
|
7973
|
-
createdOn: {
|
7971
|
+
}, createdOn: {
|
7974
7972
|
serializedName: "createdOn",
|
7975
7973
|
required: true,
|
7976
7974
|
type: {
|
7977
7975
|
name: "String"
|
7978
7976
|
}
|
7979
|
-
},
|
7980
|
-
updatedOn: {
|
7977
|
+
}, updatedOn: {
|
7981
7978
|
serializedName: "updatedOn",
|
7982
7979
|
required: true,
|
7983
7980
|
type: {
|
7984
7981
|
name: "String"
|
7985
7982
|
}
|
7986
|
-
},
|
7987
|
-
attributes: {
|
7983
|
+
}, attributes: {
|
7988
7984
|
serializedName: "attributes",
|
7989
7985
|
required: true,
|
7990
7986
|
type: {
|
7991
7987
|
name: "Dictionary",
|
7992
7988
|
value: { type: { name: "String" } }
|
7993
7989
|
}
|
7994
|
-
}
|
7995
|
-
}
|
7990
|
+
} })
|
7996
7991
|
}
|
7997
7992
|
};
|
7998
7993
|
const EventGridMqttClientDeletedEventData = {
|
7999
7994
|
type: {
|
8000
7995
|
name: "Composite",
|
8001
7996
|
className: "EventGridMqttClientDeletedEventData",
|
8002
|
-
modelProperties: {
|
8003
|
-
...EventGridMqttClientEventData.type.modelProperties
|
8004
|
-
}
|
7997
|
+
modelProperties: Object.assign({}, EventGridMqttClientEventData.type.modelProperties)
|
8005
7998
|
}
|
8006
7999
|
};
|
8007
8000
|
const EventGridMqttClientSessionConnectedEventData = {
|
8008
8001
|
type: {
|
8009
8002
|
name: "Composite",
|
8010
8003
|
className: "EventGridMqttClientSessionConnectedEventData",
|
8011
|
-
modelProperties: {
|
8012
|
-
...EventGridMqttClientEventData.type.modelProperties,
|
8013
|
-
clientSessionName: {
|
8004
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { clientSessionName: {
|
8014
8005
|
serializedName: "clientSessionName",
|
8015
8006
|
required: true,
|
8016
8007
|
type: {
|
8017
8008
|
name: "String"
|
8018
8009
|
}
|
8019
|
-
},
|
8020
|
-
sequenceNumber: {
|
8010
|
+
}, sequenceNumber: {
|
8021
8011
|
serializedName: "sequenceNumber",
|
8022
8012
|
required: true,
|
8023
8013
|
type: {
|
8024
8014
|
name: "Number"
|
8025
8015
|
}
|
8026
|
-
}
|
8027
|
-
}
|
8016
|
+
} })
|
8028
8017
|
}
|
8029
8018
|
};
|
8030
8019
|
const EventGridMqttClientSessionDisconnectedEventData = {
|
8031
8020
|
type: {
|
8032
8021
|
name: "Composite",
|
8033
8022
|
className: "EventGridMqttClientSessionDisconnectedEventData",
|
8034
|
-
modelProperties: {
|
8035
|
-
...EventGridMqttClientEventData.type.modelProperties,
|
8036
|
-
clientSessionName: {
|
8023
|
+
modelProperties: Object.assign(Object.assign({}, EventGridMqttClientEventData.type.modelProperties), { clientSessionName: {
|
8037
8024
|
serializedName: "clientSessionName",
|
8038
8025
|
required: true,
|
8039
8026
|
type: {
|
8040
8027
|
name: "String"
|
8041
8028
|
}
|
8042
|
-
},
|
8043
|
-
sequenceNumber: {
|
8029
|
+
}, sequenceNumber: {
|
8044
8030
|
serializedName: "sequenceNumber",
|
8045
8031
|
required: true,
|
8046
8032
|
type: {
|
8047
8033
|
name: "Number"
|
8048
8034
|
}
|
8049
|
-
},
|
8050
|
-
disconnectionReason: {
|
8035
|
+
}, disconnectionReason: {
|
8051
8036
|
serializedName: "disconnectionReason",
|
8052
8037
|
required: true,
|
8053
8038
|
type: {
|
8054
8039
|
name: "String"
|
8055
8040
|
}
|
8056
|
-
}
|
8057
|
-
}
|
8041
|
+
} })
|
8058
8042
|
}
|
8059
8043
|
};
|
8060
8044
|
const IotHubDeviceCreatedEventData = {
|
8061
8045
|
type: {
|
8062
8046
|
name: "Composite",
|
8063
8047
|
className: "IotHubDeviceCreatedEventData",
|
8064
|
-
modelProperties: {
|
8065
|
-
...DeviceLifeCycleEvent.type.modelProperties
|
8066
|
-
}
|
8048
|
+
modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
|
8067
8049
|
}
|
8068
8050
|
};
|
8069
8051
|
const IotHubDeviceDeletedEventData = {
|
8070
8052
|
type: {
|
8071
8053
|
name: "Composite",
|
8072
8054
|
className: "IotHubDeviceDeletedEventData",
|
8073
|
-
modelProperties: {
|
8074
|
-
...DeviceLifeCycleEvent.type.modelProperties
|
8075
|
-
}
|
8055
|
+
modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
|
8076
8056
|
}
|
8077
8057
|
};
|
8078
8058
|
const IotHubDeviceConnectedEventData = {
|
8079
8059
|
type: {
|
8080
8060
|
name: "Composite",
|
8081
8061
|
className: "IotHubDeviceConnectedEventData",
|
8082
|
-
modelProperties: {
|
8083
|
-
...DeviceConnectionStateEvent.type.modelProperties
|
8084
|
-
}
|
8062
|
+
modelProperties: Object.assign({}, DeviceConnectionStateEvent.type.modelProperties)
|
8085
8063
|
}
|
8086
8064
|
};
|
8087
8065
|
const IotHubDeviceDisconnectedEventData = {
|
8088
8066
|
type: {
|
8089
8067
|
name: "Composite",
|
8090
8068
|
className: "IotHubDeviceDisconnectedEventData",
|
8091
|
-
modelProperties: {
|
8092
|
-
...DeviceConnectionStateEvent.type.modelProperties
|
8093
|
-
}
|
8069
|
+
modelProperties: Object.assign({}, DeviceConnectionStateEvent.type.modelProperties)
|
8094
8070
|
}
|
8095
8071
|
};
|
8096
8072
|
const IotHubDeviceTelemetryEventData = {
|
8097
8073
|
type: {
|
8098
8074
|
name: "Composite",
|
8099
8075
|
className: "IotHubDeviceTelemetryEventData",
|
8100
|
-
modelProperties: {
|
8101
|
-
...DeviceTelemetryEvent.type.modelProperties
|
8102
|
-
}
|
8076
|
+
modelProperties: Object.assign({}, DeviceTelemetryEvent.type.modelProperties)
|
8103
8077
|
}
|
8104
8078
|
};
|
8105
8079
|
const ContainerRegistryImagePushedEventData = {
|
8106
8080
|
type: {
|
8107
8081
|
name: "Composite",
|
8108
8082
|
className: "ContainerRegistryImagePushedEventData",
|
8109
|
-
modelProperties: {
|
8110
|
-
...ContainerRegistryEventData.type.modelProperties
|
8111
|
-
}
|
8083
|
+
modelProperties: Object.assign({}, ContainerRegistryEventData.type.modelProperties)
|
8112
8084
|
}
|
8113
8085
|
};
|
8114
8086
|
const ContainerRegistryImageDeletedEventData = {
|
8115
8087
|
type: {
|
8116
8088
|
name: "Composite",
|
8117
8089
|
className: "ContainerRegistryImageDeletedEventData",
|
8118
|
-
modelProperties: {
|
8119
|
-
...ContainerRegistryEventData.type.modelProperties
|
8120
|
-
}
|
8090
|
+
modelProperties: Object.assign({}, ContainerRegistryEventData.type.modelProperties)
|
8121
8091
|
}
|
8122
8092
|
};
|
8123
8093
|
const ContainerRegistryChartPushedEventData = {
|
8124
8094
|
type: {
|
8125
8095
|
name: "Composite",
|
8126
8096
|
className: "ContainerRegistryChartPushedEventData",
|
8127
|
-
modelProperties: {
|
8128
|
-
...ContainerRegistryArtifactEventData.type.modelProperties
|
8129
|
-
}
|
8097
|
+
modelProperties: Object.assign({}, ContainerRegistryArtifactEventData.type.modelProperties)
|
8130
8098
|
}
|
8131
8099
|
};
|
8132
8100
|
const ContainerRegistryChartDeletedEventData = {
|
8133
8101
|
type: {
|
8134
8102
|
name: "Composite",
|
8135
8103
|
className: "ContainerRegistryChartDeletedEventData",
|
8136
|
-
modelProperties: {
|
8137
|
-
...ContainerRegistryArtifactEventData.type.modelProperties
|
8138
|
-
}
|
8104
|
+
modelProperties: Object.assign({}, ContainerRegistryArtifactEventData.type.modelProperties)
|
8139
8105
|
}
|
8140
8106
|
};
|
8141
8107
|
const MediaJobScheduledEventData = {
|
@@ -8143,9 +8109,7 @@ const MediaJobScheduledEventData = {
|
|
8143
8109
|
type: {
|
8144
8110
|
name: "Composite",
|
8145
8111
|
className: "MediaJobScheduledEventData",
|
8146
|
-
modelProperties: {
|
8147
|
-
...MediaJobStateChangeEventData.type.modelProperties
|
8148
|
-
}
|
8112
|
+
modelProperties: Object.assign({}, MediaJobStateChangeEventData.type.modelProperties)
|
8149
8113
|
}
|
8150
8114
|
};
|
8151
8115
|
const MediaJobProcessingEventData = {
|
@@ -8153,9 +8117,7 @@ const MediaJobProcessingEventData = {
|
|
8153
8117
|
type: {
|
8154
8118
|
name: "Composite",
|
8155
8119
|
className: "MediaJobProcessingEventData",
|
8156
|
-
modelProperties: {
|
8157
|
-
...MediaJobStateChangeEventData.type.modelProperties
|
8158
|
-
}
|
8120
|
+
modelProperties: Object.assign({}, MediaJobStateChangeEventData.type.modelProperties)
|
8159
8121
|
}
|
8160
8122
|
};
|
8161
8123
|
const MediaJobCancelingEventData = {
|
@@ -8163,9 +8125,7 @@ const MediaJobCancelingEventData = {
|
|
8163
8125
|
type: {
|
8164
8126
|
name: "Composite",
|
8165
8127
|
className: "MediaJobCancelingEventData",
|
8166
|
-
modelProperties: {
|
8167
|
-
...MediaJobStateChangeEventData.type.modelProperties
|
8168
|
-
}
|
8128
|
+
modelProperties: Object.assign({}, MediaJobStateChangeEventData.type.modelProperties)
|
8169
8129
|
}
|
8170
8130
|
};
|
8171
8131
|
const MediaJobFinishedEventData = {
|
@@ -8173,9 +8133,7 @@ const MediaJobFinishedEventData = {
|
|
8173
8133
|
type: {
|
8174
8134
|
name: "Composite",
|
8175
8135
|
className: "MediaJobFinishedEventData",
|
8176
|
-
modelProperties: {
|
8177
|
-
...MediaJobStateChangeEventData.type.modelProperties,
|
8178
|
-
outputs: {
|
8136
|
+
modelProperties: Object.assign(Object.assign({}, MediaJobStateChangeEventData.type.modelProperties), { outputs: {
|
8179
8137
|
serializedName: "outputs",
|
8180
8138
|
required: true,
|
8181
8139
|
type: {
|
@@ -8187,8 +8145,7 @@ const MediaJobFinishedEventData = {
|
|
8187
8145
|
}
|
8188
8146
|
}
|
8189
8147
|
}
|
8190
|
-
}
|
8191
|
-
}
|
8148
|
+
} })
|
8192
8149
|
}
|
8193
8150
|
};
|
8194
8151
|
const MediaJobCanceledEventData = {
|
@@ -8196,9 +8153,7 @@ const MediaJobCanceledEventData = {
|
|
8196
8153
|
type: {
|
8197
8154
|
name: "Composite",
|
8198
8155
|
className: "MediaJobCanceledEventData",
|
8199
|
-
modelProperties: {
|
8200
|
-
...MediaJobStateChangeEventData.type.modelProperties,
|
8201
|
-
outputs: {
|
8156
|
+
modelProperties: Object.assign(Object.assign({}, MediaJobStateChangeEventData.type.modelProperties), { outputs: {
|
8202
8157
|
serializedName: "outputs",
|
8203
8158
|
required: true,
|
8204
8159
|
type: {
|
@@ -8210,8 +8165,7 @@ const MediaJobCanceledEventData = {
|
|
8210
8165
|
}
|
8211
8166
|
}
|
8212
8167
|
}
|
8213
|
-
}
|
8214
|
-
}
|
8168
|
+
} })
|
8215
8169
|
}
|
8216
8170
|
};
|
8217
8171
|
const MediaJobErroredEventData = {
|
@@ -8219,9 +8173,7 @@ const MediaJobErroredEventData = {
|
|
8219
8173
|
type: {
|
8220
8174
|
name: "Composite",
|
8221
8175
|
className: "MediaJobErroredEventData",
|
8222
|
-
modelProperties: {
|
8223
|
-
...MediaJobStateChangeEventData.type.modelProperties,
|
8224
|
-
outputs: {
|
8176
|
+
modelProperties: Object.assign(Object.assign({}, MediaJobStateChangeEventData.type.modelProperties), { outputs: {
|
8225
8177
|
serializedName: "outputs",
|
8226
8178
|
required: true,
|
8227
8179
|
type: {
|
@@ -8233,8 +8185,7 @@ const MediaJobErroredEventData = {
|
|
8233
8185
|
}
|
8234
8186
|
}
|
8235
8187
|
}
|
8236
|
-
}
|
8237
|
-
}
|
8188
|
+
} })
|
8238
8189
|
}
|
8239
8190
|
};
|
8240
8191
|
const MediaJobOutputAsset = {
|
@@ -8244,16 +8195,13 @@ const MediaJobOutputAsset = {
|
|
8244
8195
|
className: "MediaJobOutputAsset",
|
8245
8196
|
uberParent: "MediaJobOutput",
|
8246
8197
|
polymorphicDiscriminator: MediaJobOutput.type.polymorphicDiscriminator,
|
8247
|
-
modelProperties: {
|
8248
|
-
...MediaJobOutput.type.modelProperties,
|
8249
|
-
assetName: {
|
8198
|
+
modelProperties: Object.assign(Object.assign({}, MediaJobOutput.type.modelProperties), { assetName: {
|
8250
8199
|
serializedName: "assetName",
|
8251
8200
|
required: true,
|
8252
8201
|
type: {
|
8253
8202
|
name: "String"
|
8254
8203
|
}
|
8255
|
-
}
|
8256
|
-
}
|
8204
|
+
} })
|
8257
8205
|
}
|
8258
8206
|
};
|
8259
8207
|
const MediaJobOutputCanceledEventData = {
|
@@ -8261,9 +8209,7 @@ const MediaJobOutputCanceledEventData = {
|
|
8261
8209
|
type: {
|
8262
8210
|
name: "Composite",
|
8263
8211
|
className: "MediaJobOutputCanceledEventData",
|
8264
|
-
modelProperties: {
|
8265
|
-
...MediaJobOutputStateChangeEventData.type.modelProperties
|
8266
|
-
}
|
8212
|
+
modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
|
8267
8213
|
}
|
8268
8214
|
};
|
8269
8215
|
const MediaJobOutputCancelingEventData = {
|
@@ -8271,9 +8217,7 @@ const MediaJobOutputCancelingEventData = {
|
|
8271
8217
|
type: {
|
8272
8218
|
name: "Composite",
|
8273
8219
|
className: "MediaJobOutputCancelingEventData",
|
8274
|
-
modelProperties: {
|
8275
|
-
...MediaJobOutputStateChangeEventData.type.modelProperties
|
8276
|
-
}
|
8220
|
+
modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
|
8277
8221
|
}
|
8278
8222
|
};
|
8279
8223
|
const MediaJobOutputErroredEventData = {
|
@@ -8281,9 +8225,7 @@ const MediaJobOutputErroredEventData = {
|
|
8281
8225
|
type: {
|
8282
8226
|
name: "Composite",
|
8283
8227
|
className: "MediaJobOutputErroredEventData",
|
8284
|
-
modelProperties: {
|
8285
|
-
...MediaJobOutputStateChangeEventData.type.modelProperties
|
8286
|
-
}
|
8228
|
+
modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
|
8287
8229
|
}
|
8288
8230
|
};
|
8289
8231
|
const MediaJobOutputFinishedEventData = {
|
@@ -8291,9 +8233,7 @@ const MediaJobOutputFinishedEventData = {
|
|
8291
8233
|
type: {
|
8292
8234
|
name: "Composite",
|
8293
8235
|
className: "MediaJobOutputFinishedEventData",
|
8294
|
-
modelProperties: {
|
8295
|
-
...MediaJobOutputStateChangeEventData.type.modelProperties
|
8296
|
-
}
|
8236
|
+
modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
|
8297
8237
|
}
|
8298
8238
|
};
|
8299
8239
|
const MediaJobOutputProcessingEventData = {
|
@@ -8301,9 +8241,7 @@ const MediaJobOutputProcessingEventData = {
|
|
8301
8241
|
type: {
|
8302
8242
|
name: "Composite",
|
8303
8243
|
className: "MediaJobOutputProcessingEventData",
|
8304
|
-
modelProperties: {
|
8305
|
-
...MediaJobOutputStateChangeEventData.type.modelProperties
|
8306
|
-
}
|
8244
|
+
modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
|
8307
8245
|
}
|
8308
8246
|
};
|
8309
8247
|
const MediaJobOutputScheduledEventData = {
|
@@ -8311,347 +8249,287 @@ const MediaJobOutputScheduledEventData = {
|
|
8311
8249
|
type: {
|
8312
8250
|
name: "Composite",
|
8313
8251
|
className: "MediaJobOutputScheduledEventData",
|
8314
|
-
modelProperties: {
|
8315
|
-
...MediaJobOutputStateChangeEventData.type.modelProperties
|
8316
|
-
}
|
8252
|
+
modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
|
8317
8253
|
}
|
8318
8254
|
};
|
8319
8255
|
const MapsGeofenceEnteredEventData = {
|
8320
8256
|
type: {
|
8321
8257
|
name: "Composite",
|
8322
8258
|
className: "MapsGeofenceEnteredEventData",
|
8323
|
-
modelProperties: {
|
8324
|
-
...MapsGeofenceEvent.type.modelProperties
|
8325
|
-
}
|
8259
|
+
modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
|
8326
8260
|
}
|
8327
8261
|
};
|
8328
8262
|
const MapsGeofenceExitedEventData = {
|
8329
8263
|
type: {
|
8330
8264
|
name: "Composite",
|
8331
8265
|
className: "MapsGeofenceExitedEventData",
|
8332
|
-
modelProperties: {
|
8333
|
-
...MapsGeofenceEvent.type.modelProperties
|
8334
|
-
}
|
8266
|
+
modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
|
8335
8267
|
}
|
8336
8268
|
};
|
8337
8269
|
const MapsGeofenceResultEventData = {
|
8338
8270
|
type: {
|
8339
8271
|
name: "Composite",
|
8340
8272
|
className: "MapsGeofenceResultEventData",
|
8341
|
-
modelProperties: {
|
8342
|
-
...MapsGeofenceEvent.type.modelProperties
|
8343
|
-
}
|
8273
|
+
modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
|
8344
8274
|
}
|
8345
8275
|
};
|
8346
8276
|
const AppConfigurationSnapshotCreatedEventData = {
|
8347
8277
|
type: {
|
8348
8278
|
name: "Composite",
|
8349
8279
|
className: "AppConfigurationSnapshotCreatedEventData",
|
8350
|
-
modelProperties: {
|
8351
|
-
...AppConfigurationSnapshotEventData.type.modelProperties
|
8352
|
-
}
|
8280
|
+
modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
|
8353
8281
|
}
|
8354
8282
|
};
|
8355
8283
|
const AppConfigurationSnapshotModifiedEventData = {
|
8356
8284
|
type: {
|
8357
8285
|
name: "Composite",
|
8358
8286
|
className: "AppConfigurationSnapshotModifiedEventData",
|
8359
|
-
modelProperties: {
|
8360
|
-
...AppConfigurationSnapshotEventData.type.modelProperties
|
8361
|
-
}
|
8287
|
+
modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
|
8362
8288
|
}
|
8363
8289
|
};
|
8364
8290
|
const AcsRouterJobEventData = {
|
8365
8291
|
type: {
|
8366
8292
|
name: "Composite",
|
8367
8293
|
className: "AcsRouterJobEventData",
|
8368
|
-
modelProperties: {
|
8369
|
-
...AcsRouterEventData.type.modelProperties,
|
8370
|
-
queueId: {
|
8294
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterEventData.type.modelProperties), { queueId: {
|
8371
8295
|
serializedName: "queueId",
|
8372
8296
|
required: true,
|
8373
8297
|
type: {
|
8374
8298
|
name: "String"
|
8375
8299
|
}
|
8376
|
-
},
|
8377
|
-
labels: {
|
8300
|
+
}, labels: {
|
8378
8301
|
serializedName: "labels",
|
8379
8302
|
required: true,
|
8380
8303
|
type: {
|
8381
8304
|
name: "Dictionary",
|
8382
8305
|
value: { type: { name: "String" } }
|
8383
8306
|
}
|
8384
|
-
},
|
8385
|
-
tags: {
|
8307
|
+
}, tags: {
|
8386
8308
|
serializedName: "tags",
|
8387
8309
|
required: true,
|
8388
8310
|
type: {
|
8389
8311
|
name: "Dictionary",
|
8390
8312
|
value: { type: { name: "String" } }
|
8391
8313
|
}
|
8392
|
-
}
|
8393
|
-
}
|
8314
|
+
} })
|
8394
8315
|
}
|
8395
8316
|
};
|
8396
8317
|
const AcsRouterWorkerEventData = {
|
8397
8318
|
type: {
|
8398
8319
|
name: "Composite",
|
8399
8320
|
className: "AcsRouterWorkerEventData",
|
8400
|
-
modelProperties: {
|
8401
|
-
...AcsRouterEventData.type.modelProperties,
|
8402
|
-
workerId: {
|
8321
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterEventData.type.modelProperties), { workerId: {
|
8403
8322
|
serializedName: "workerId",
|
8404
8323
|
required: true,
|
8405
8324
|
type: {
|
8406
8325
|
name: "String"
|
8407
8326
|
}
|
8408
|
-
}
|
8409
|
-
}
|
8327
|
+
} })
|
8410
8328
|
}
|
8411
8329
|
};
|
8412
8330
|
const AcsChatMessageEventBase = {
|
8413
8331
|
type: {
|
8414
8332
|
name: "Composite",
|
8415
8333
|
className: "AcsChatMessageEventBase",
|
8416
|
-
modelProperties: {
|
8417
|
-
...AcsChatEventBase.type.modelProperties,
|
8418
|
-
messageId: {
|
8334
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventBase.type.modelProperties), { messageId: {
|
8419
8335
|
serializedName: "messageId",
|
8420
8336
|
required: true,
|
8421
8337
|
type: {
|
8422
8338
|
name: "String"
|
8423
8339
|
}
|
8424
|
-
},
|
8425
|
-
senderCommunicationIdentifier: {
|
8340
|
+
}, senderCommunicationIdentifier: {
|
8426
8341
|
serializedName: "senderCommunicationIdentifier",
|
8427
8342
|
type: {
|
8428
8343
|
name: "Composite",
|
8429
8344
|
className: "CommunicationIdentifierModel"
|
8430
8345
|
}
|
8431
|
-
},
|
8432
|
-
senderDisplayName: {
|
8346
|
+
}, senderDisplayName: {
|
8433
8347
|
serializedName: "senderDisplayName",
|
8434
8348
|
required: true,
|
8435
8349
|
type: {
|
8436
8350
|
name: "String"
|
8437
8351
|
}
|
8438
|
-
},
|
8439
|
-
composeTime: {
|
8352
|
+
}, composeTime: {
|
8440
8353
|
serializedName: "composeTime",
|
8441
8354
|
required: true,
|
8442
8355
|
type: {
|
8443
8356
|
name: "String"
|
8444
8357
|
}
|
8445
|
-
},
|
8446
|
-
type: {
|
8358
|
+
}, type: {
|
8447
8359
|
serializedName: "type",
|
8448
8360
|
required: true,
|
8449
8361
|
type: {
|
8450
8362
|
name: "String"
|
8451
8363
|
}
|
8452
|
-
},
|
8453
|
-
version: {
|
8364
|
+
}, version: {
|
8454
8365
|
serializedName: "version",
|
8455
8366
|
required: true,
|
8456
8367
|
type: {
|
8457
8368
|
name: "Number"
|
8458
8369
|
}
|
8459
|
-
}
|
8460
|
-
}
|
8370
|
+
} })
|
8461
8371
|
}
|
8462
8372
|
};
|
8463
8373
|
const AcsChatThreadEventBase = {
|
8464
8374
|
type: {
|
8465
8375
|
name: "Composite",
|
8466
8376
|
className: "AcsChatThreadEventBase",
|
8467
|
-
modelProperties: {
|
8468
|
-
...AcsChatEventBase.type.modelProperties,
|
8469
|
-
createTime: {
|
8377
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventBase.type.modelProperties), { createTime: {
|
8470
8378
|
serializedName: "createTime",
|
8471
8379
|
required: true,
|
8472
8380
|
type: {
|
8473
8381
|
name: "String"
|
8474
8382
|
}
|
8475
|
-
},
|
8476
|
-
version: {
|
8383
|
+
}, version: {
|
8477
8384
|
serializedName: "version",
|
8478
8385
|
required: true,
|
8479
8386
|
type: {
|
8480
8387
|
name: "Number"
|
8481
8388
|
}
|
8482
|
-
}
|
8483
|
-
}
|
8389
|
+
} })
|
8484
8390
|
}
|
8485
8391
|
};
|
8486
8392
|
const AcsChatMessageEventInThreadBase = {
|
8487
8393
|
type: {
|
8488
8394
|
name: "Composite",
|
8489
8395
|
className: "AcsChatMessageEventInThreadBase",
|
8490
|
-
modelProperties: {
|
8491
|
-
...AcsChatEventInThreadBase.type.modelProperties,
|
8492
|
-
messageId: {
|
8396
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventInThreadBase.type.modelProperties), { messageId: {
|
8493
8397
|
serializedName: "messageId",
|
8494
8398
|
required: true,
|
8495
8399
|
type: {
|
8496
8400
|
name: "String"
|
8497
8401
|
}
|
8498
|
-
},
|
8499
|
-
senderCommunicationIdentifier: {
|
8402
|
+
}, senderCommunicationIdentifier: {
|
8500
8403
|
serializedName: "senderCommunicationIdentifier",
|
8501
8404
|
type: {
|
8502
8405
|
name: "Composite",
|
8503
8406
|
className: "CommunicationIdentifierModel"
|
8504
8407
|
}
|
8505
|
-
},
|
8506
|
-
senderDisplayName: {
|
8408
|
+
}, senderDisplayName: {
|
8507
8409
|
serializedName: "senderDisplayName",
|
8508
8410
|
required: true,
|
8509
8411
|
type: {
|
8510
8412
|
name: "String"
|
8511
8413
|
}
|
8512
|
-
},
|
8513
|
-
composeTime: {
|
8414
|
+
}, composeTime: {
|
8514
8415
|
serializedName: "composeTime",
|
8515
8416
|
required: true,
|
8516
8417
|
type: {
|
8517
8418
|
name: "String"
|
8518
8419
|
}
|
8519
|
-
},
|
8520
|
-
type: {
|
8420
|
+
}, type: {
|
8521
8421
|
serializedName: "type",
|
8522
8422
|
required: true,
|
8523
8423
|
type: {
|
8524
8424
|
name: "String"
|
8525
8425
|
}
|
8526
|
-
},
|
8527
|
-
version: {
|
8426
|
+
}, version: {
|
8528
8427
|
serializedName: "version",
|
8529
8428
|
required: true,
|
8530
8429
|
type: {
|
8531
8430
|
name: "Number"
|
8532
8431
|
}
|
8533
|
-
}
|
8534
|
-
}
|
8432
|
+
} })
|
8535
8433
|
}
|
8536
8434
|
};
|
8537
8435
|
const AcsChatThreadEventInThreadBase = {
|
8538
8436
|
type: {
|
8539
8437
|
name: "Composite",
|
8540
8438
|
className: "AcsChatThreadEventInThreadBase",
|
8541
|
-
modelProperties: {
|
8542
|
-
...AcsChatEventInThreadBase.type.modelProperties,
|
8543
|
-
createTime: {
|
8439
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventInThreadBase.type.modelProperties), { createTime: {
|
8544
8440
|
serializedName: "createTime",
|
8545
8441
|
required: true,
|
8546
8442
|
type: {
|
8547
8443
|
name: "String"
|
8548
8444
|
}
|
8549
|
-
},
|
8550
|
-
version: {
|
8445
|
+
}, version: {
|
8551
8446
|
serializedName: "version",
|
8552
8447
|
required: true,
|
8553
8448
|
type: {
|
8554
8449
|
name: "Number"
|
8555
8450
|
}
|
8556
|
-
}
|
8557
|
-
}
|
8451
|
+
} })
|
8558
8452
|
}
|
8559
8453
|
};
|
8560
8454
|
const AcsChatParticipantAddedToThreadEventData = {
|
8561
8455
|
type: {
|
8562
8456
|
name: "Composite",
|
8563
8457
|
className: "AcsChatParticipantAddedToThreadEventData",
|
8564
|
-
modelProperties: {
|
8565
|
-
...AcsChatEventInThreadBase.type.modelProperties,
|
8566
|
-
time: {
|
8458
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventInThreadBase.type.modelProperties), { time: {
|
8567
8459
|
serializedName: "time",
|
8568
8460
|
required: true,
|
8569
8461
|
type: {
|
8570
8462
|
name: "String"
|
8571
8463
|
}
|
8572
|
-
},
|
8573
|
-
addedByCommunicationIdentifier: {
|
8464
|
+
}, addedByCommunicationIdentifier: {
|
8574
8465
|
serializedName: "addedByCommunicationIdentifier",
|
8575
8466
|
type: {
|
8576
8467
|
name: "Composite",
|
8577
8468
|
className: "CommunicationIdentifierModel"
|
8578
8469
|
}
|
8579
|
-
},
|
8580
|
-
participantAdded: {
|
8470
|
+
}, participantAdded: {
|
8581
8471
|
serializedName: "participantAdded",
|
8582
8472
|
type: {
|
8583
8473
|
name: "Composite",
|
8584
8474
|
className: "AcsChatThreadParticipant"
|
8585
8475
|
}
|
8586
|
-
},
|
8587
|
-
version: {
|
8476
|
+
}, version: {
|
8588
8477
|
serializedName: "version",
|
8589
8478
|
required: true,
|
8590
8479
|
type: {
|
8591
8480
|
name: "Number"
|
8592
8481
|
}
|
8593
|
-
}
|
8594
|
-
}
|
8482
|
+
} })
|
8595
8483
|
}
|
8596
8484
|
};
|
8597
8485
|
const AcsChatParticipantRemovedFromThreadEventData = {
|
8598
8486
|
type: {
|
8599
8487
|
name: "Composite",
|
8600
8488
|
className: "AcsChatParticipantRemovedFromThreadEventData",
|
8601
|
-
modelProperties: {
|
8602
|
-
...AcsChatEventInThreadBase.type.modelProperties,
|
8603
|
-
time: {
|
8489
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatEventInThreadBase.type.modelProperties), { time: {
|
8604
8490
|
serializedName: "time",
|
8605
8491
|
required: true,
|
8606
8492
|
type: {
|
8607
8493
|
name: "String"
|
8608
8494
|
}
|
8609
|
-
},
|
8610
|
-
removedByCommunicationIdentifier: {
|
8495
|
+
}, removedByCommunicationIdentifier: {
|
8611
8496
|
serializedName: "removedByCommunicationIdentifier",
|
8612
8497
|
type: {
|
8613
8498
|
name: "Composite",
|
8614
8499
|
className: "CommunicationIdentifierModel"
|
8615
8500
|
}
|
8616
|
-
},
|
8617
|
-
participantRemoved: {
|
8501
|
+
}, participantRemoved: {
|
8618
8502
|
serializedName: "participantRemoved",
|
8619
8503
|
type: {
|
8620
8504
|
name: "Composite",
|
8621
8505
|
className: "AcsChatThreadParticipant"
|
8622
8506
|
}
|
8623
|
-
},
|
8624
|
-
version: {
|
8507
|
+
}, version: {
|
8625
8508
|
serializedName: "version",
|
8626
8509
|
required: true,
|
8627
8510
|
type: {
|
8628
8511
|
name: "Number"
|
8629
8512
|
}
|
8630
|
-
}
|
8631
|
-
}
|
8513
|
+
} })
|
8632
8514
|
}
|
8633
8515
|
};
|
8634
8516
|
const AcsSmsDeliveryReportReceivedEventData = {
|
8635
8517
|
type: {
|
8636
8518
|
name: "Composite",
|
8637
8519
|
className: "AcsSmsDeliveryReportReceivedEventData",
|
8638
|
-
modelProperties: {
|
8639
|
-
...AcsSmsEventBase.type.modelProperties,
|
8640
|
-
deliveryStatus: {
|
8520
|
+
modelProperties: Object.assign(Object.assign({}, AcsSmsEventBase.type.modelProperties), { deliveryStatus: {
|
8641
8521
|
serializedName: "deliveryStatus",
|
8642
8522
|
required: true,
|
8643
8523
|
type: {
|
8644
8524
|
name: "String"
|
8645
8525
|
}
|
8646
|
-
},
|
8647
|
-
deliveryStatusDetails: {
|
8526
|
+
}, deliveryStatusDetails: {
|
8648
8527
|
serializedName: "deliveryStatusDetails",
|
8649
8528
|
required: true,
|
8650
8529
|
type: {
|
8651
8530
|
name: "String"
|
8652
8531
|
}
|
8653
|
-
},
|
8654
|
-
deliveryAttempts: {
|
8532
|
+
}, deliveryAttempts: {
|
8655
8533
|
serializedName: "deliveryAttempts",
|
8656
8534
|
required: true,
|
8657
8535
|
type: {
|
@@ -8663,165 +8541,133 @@ const AcsSmsDeliveryReportReceivedEventData = {
|
|
8663
8541
|
}
|
8664
8542
|
}
|
8665
8543
|
}
|
8666
|
-
},
|
8667
|
-
receivedTimestamp: {
|
8544
|
+
}, receivedTimestamp: {
|
8668
8545
|
serializedName: "receivedTimestamp",
|
8669
8546
|
required: true,
|
8670
8547
|
type: {
|
8671
8548
|
name: "String"
|
8672
8549
|
}
|
8673
|
-
},
|
8674
|
-
tag: {
|
8550
|
+
}, tag: {
|
8675
8551
|
serializedName: "tag",
|
8676
8552
|
required: true,
|
8677
8553
|
type: {
|
8678
8554
|
name: "String"
|
8679
8555
|
}
|
8680
|
-
}
|
8681
|
-
}
|
8556
|
+
} })
|
8682
8557
|
}
|
8683
8558
|
};
|
8684
8559
|
const AcsSmsReceivedEventData = {
|
8685
8560
|
type: {
|
8686
8561
|
name: "Composite",
|
8687
8562
|
className: "AcsSmsReceivedEventData",
|
8688
|
-
modelProperties: {
|
8689
|
-
...AcsSmsEventBase.type.modelProperties,
|
8690
|
-
message: {
|
8563
|
+
modelProperties: Object.assign(Object.assign({}, AcsSmsEventBase.type.modelProperties), { message: {
|
8691
8564
|
serializedName: "message",
|
8692
8565
|
required: true,
|
8693
8566
|
type: {
|
8694
8567
|
name: "String"
|
8695
8568
|
}
|
8696
|
-
},
|
8697
|
-
receivedTimestamp: {
|
8569
|
+
}, receivedTimestamp: {
|
8698
8570
|
serializedName: "receivedTimestamp",
|
8699
8571
|
required: true,
|
8700
8572
|
type: {
|
8701
8573
|
name: "String"
|
8702
8574
|
}
|
8703
|
-
}
|
8704
|
-
}
|
8575
|
+
} })
|
8705
8576
|
}
|
8706
8577
|
};
|
8707
8578
|
const ContainerServiceClusterSupportEndedEventData = {
|
8708
8579
|
type: {
|
8709
8580
|
name: "Composite",
|
8710
8581
|
className: "ContainerServiceClusterSupportEndedEventData",
|
8711
|
-
modelProperties: {
|
8712
|
-
...ContainerServiceClusterSupportEventData.type.modelProperties
|
8713
|
-
}
|
8582
|
+
modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
|
8714
8583
|
}
|
8715
8584
|
};
|
8716
8585
|
const ContainerServiceClusterSupportEndingEventData = {
|
8717
8586
|
type: {
|
8718
8587
|
name: "Composite",
|
8719
8588
|
className: "ContainerServiceClusterSupportEndingEventData",
|
8720
|
-
modelProperties: {
|
8721
|
-
...ContainerServiceClusterSupportEventData.type.modelProperties
|
8722
|
-
}
|
8589
|
+
modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
|
8723
8590
|
}
|
8724
8591
|
};
|
8725
8592
|
const ContainerServiceNodePoolRollingStartedEventData = {
|
8726
8593
|
type: {
|
8727
8594
|
name: "Composite",
|
8728
8595
|
className: "ContainerServiceNodePoolRollingStartedEventData",
|
8729
|
-
modelProperties: {
|
8730
|
-
...ContainerServiceNodePoolRollingEventData.type.modelProperties
|
8731
|
-
}
|
8596
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8732
8597
|
}
|
8733
8598
|
};
|
8734
8599
|
const ContainerServiceNodePoolRollingSucceededEventData = {
|
8735
8600
|
type: {
|
8736
8601
|
name: "Composite",
|
8737
8602
|
className: "ContainerServiceNodePoolRollingSucceededEventData",
|
8738
|
-
modelProperties: {
|
8739
|
-
...ContainerServiceNodePoolRollingEventData.type.modelProperties
|
8740
|
-
}
|
8603
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8741
8604
|
}
|
8742
8605
|
};
|
8743
8606
|
const ContainerServiceNodePoolRollingFailedEventData = {
|
8744
8607
|
type: {
|
8745
8608
|
name: "Composite",
|
8746
8609
|
className: "ContainerServiceNodePoolRollingFailedEventData",
|
8747
|
-
modelProperties: {
|
8748
|
-
...ContainerServiceNodePoolRollingEventData.type.modelProperties
|
8749
|
-
}
|
8610
|
+
modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
|
8750
8611
|
}
|
8751
8612
|
};
|
8752
8613
|
const ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData = {
|
8753
8614
|
type: {
|
8754
8615
|
name: "Composite",
|
8755
8616
|
className: "ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData",
|
8756
|
-
modelProperties: {
|
8757
|
-
...ResourceNotificationsResourceUpdatedEventData.type.modelProperties
|
8758
|
-
}
|
8617
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8759
8618
|
}
|
8760
8619
|
};
|
8761
8620
|
const ResourceNotificationsHealthResourcesAnnotatedEventData = {
|
8762
8621
|
type: {
|
8763
8622
|
name: "Composite",
|
8764
8623
|
className: "ResourceNotificationsHealthResourcesAnnotatedEventData",
|
8765
|
-
modelProperties: {
|
8766
|
-
...ResourceNotificationsResourceUpdatedEventData.type.modelProperties
|
8767
|
-
}
|
8624
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8768
8625
|
}
|
8769
8626
|
};
|
8770
8627
|
const ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = {
|
8771
8628
|
type: {
|
8772
8629
|
name: "Composite",
|
8773
8630
|
className: "ResourceNotificationsResourceManagementCreatedOrUpdatedEventData",
|
8774
|
-
modelProperties: {
|
8775
|
-
...ResourceNotificationsResourceUpdatedEventData.type.modelProperties
|
8776
|
-
}
|
8631
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
|
8777
8632
|
}
|
8778
8633
|
};
|
8779
8634
|
const ResourceNotificationsResourceManagementDeletedEventData = {
|
8780
8635
|
type: {
|
8781
8636
|
name: "Composite",
|
8782
8637
|
className: "ResourceNotificationsResourceManagementDeletedEventData",
|
8783
|
-
modelProperties: {
|
8784
|
-
...ResourceNotificationsResourceDeletedEventData.type.modelProperties
|
8785
|
-
}
|
8638
|
+
modelProperties: Object.assign({}, ResourceNotificationsResourceDeletedEventData.type.modelProperties)
|
8786
8639
|
}
|
8787
8640
|
};
|
8788
8641
|
const AcsRouterJobCancelledEventData = {
|
8789
8642
|
type: {
|
8790
8643
|
name: "Composite",
|
8791
8644
|
className: "AcsRouterJobCancelledEventData",
|
8792
|
-
modelProperties: {
|
8793
|
-
...AcsRouterJobEventData.type.modelProperties,
|
8794
|
-
note: {
|
8645
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { note: {
|
8795
8646
|
serializedName: "note",
|
8796
8647
|
required: true,
|
8797
8648
|
type: {
|
8798
8649
|
name: "String"
|
8799
8650
|
}
|
8800
|
-
},
|
8801
|
-
dispositionCode: {
|
8651
|
+
}, dispositionCode: {
|
8802
8652
|
serializedName: "dispositionCode",
|
8803
8653
|
required: true,
|
8804
8654
|
type: {
|
8805
8655
|
name: "String"
|
8806
8656
|
}
|
8807
|
-
}
|
8808
|
-
}
|
8657
|
+
} })
|
8809
8658
|
}
|
8810
8659
|
};
|
8811
8660
|
const AcsRouterJobClassificationFailedEventData = {
|
8812
8661
|
type: {
|
8813
8662
|
name: "Composite",
|
8814
8663
|
className: "AcsRouterJobClassificationFailedEventData",
|
8815
|
-
modelProperties: {
|
8816
|
-
...AcsRouterJobEventData.type.modelProperties,
|
8817
|
-
classificationPolicyId: {
|
8664
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { classificationPolicyId: {
|
8818
8665
|
serializedName: "classificationPolicyId",
|
8819
8666
|
required: true,
|
8820
8667
|
type: {
|
8821
8668
|
name: "String"
|
8822
8669
|
}
|
8823
|
-
},
|
8824
|
-
errors: {
|
8670
|
+
}, errors: {
|
8825
8671
|
serializedName: "errors",
|
8826
8672
|
required: true,
|
8827
8673
|
type: {
|
@@ -8833,38 +8679,32 @@ const AcsRouterJobClassificationFailedEventData = {
|
|
8833
8679
|
}
|
8834
8680
|
}
|
8835
8681
|
}
|
8836
|
-
}
|
8837
|
-
}
|
8682
|
+
} })
|
8838
8683
|
}
|
8839
8684
|
};
|
8840
8685
|
const AcsRouterJobClassifiedEventData = {
|
8841
8686
|
type: {
|
8842
8687
|
name: "Composite",
|
8843
8688
|
className: "AcsRouterJobClassifiedEventData",
|
8844
|
-
modelProperties: {
|
8845
|
-
...AcsRouterJobEventData.type.modelProperties,
|
8846
|
-
queueDetails: {
|
8689
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { queueDetails: {
|
8847
8690
|
serializedName: "queueDetails",
|
8848
8691
|
type: {
|
8849
8692
|
name: "Composite",
|
8850
8693
|
className: "AcsRouterQueueDetails"
|
8851
8694
|
}
|
8852
|
-
},
|
8853
|
-
classificationPolicyId: {
|
8695
|
+
}, classificationPolicyId: {
|
8854
8696
|
serializedName: "classificationPolicyId",
|
8855
8697
|
required: true,
|
8856
8698
|
type: {
|
8857
8699
|
name: "String"
|
8858
8700
|
}
|
8859
|
-
},
|
8860
|
-
priority: {
|
8701
|
+
}, priority: {
|
8861
8702
|
serializedName: "priority",
|
8862
8703
|
required: true,
|
8863
8704
|
type: {
|
8864
8705
|
name: "Number"
|
8865
8706
|
}
|
8866
|
-
},
|
8867
|
-
attachedWorkerSelectors: {
|
8707
|
+
}, attachedWorkerSelectors: {
|
8868
8708
|
serializedName: "attachedWorkerSelectors",
|
8869
8709
|
required: true,
|
8870
8710
|
type: {
|
@@ -8876,109 +8716,90 @@ const AcsRouterJobClassifiedEventData = {
|
|
8876
8716
|
}
|
8877
8717
|
}
|
8878
8718
|
}
|
8879
|
-
}
|
8880
|
-
}
|
8719
|
+
} })
|
8881
8720
|
}
|
8882
8721
|
};
|
8883
8722
|
const AcsRouterJobClosedEventData = {
|
8884
8723
|
type: {
|
8885
8724
|
name: "Composite",
|
8886
8725
|
className: "AcsRouterJobClosedEventData",
|
8887
|
-
modelProperties: {
|
8888
|
-
...AcsRouterJobEventData.type.modelProperties,
|
8889
|
-
assignmentId: {
|
8726
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8890
8727
|
serializedName: "assignmentId",
|
8891
8728
|
required: true,
|
8892
8729
|
type: {
|
8893
8730
|
name: "String"
|
8894
8731
|
}
|
8895
|
-
},
|
8896
|
-
workerId: {
|
8732
|
+
}, workerId: {
|
8897
8733
|
serializedName: "workerId",
|
8898
8734
|
required: true,
|
8899
8735
|
type: {
|
8900
8736
|
name: "String"
|
8901
8737
|
}
|
8902
|
-
},
|
8903
|
-
dispositionCode: {
|
8738
|
+
}, dispositionCode: {
|
8904
8739
|
serializedName: "dispositionCode",
|
8905
8740
|
required: true,
|
8906
8741
|
type: {
|
8907
8742
|
name: "String"
|
8908
8743
|
}
|
8909
|
-
}
|
8910
|
-
}
|
8744
|
+
} })
|
8911
8745
|
}
|
8912
8746
|
};
|
8913
8747
|
const AcsRouterJobCompletedEventData = {
|
8914
8748
|
type: {
|
8915
8749
|
name: "Composite",
|
8916
8750
|
className: "AcsRouterJobCompletedEventData",
|
8917
|
-
modelProperties: {
|
8918
|
-
...AcsRouterJobEventData.type.modelProperties,
|
8919
|
-
assignmentId: {
|
8751
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
8920
8752
|
serializedName: "assignmentId",
|
8921
8753
|
required: true,
|
8922
8754
|
type: {
|
8923
8755
|
name: "String"
|
8924
8756
|
}
|
8925
|
-
},
|
8926
|
-
workerId: {
|
8757
|
+
}, workerId: {
|
8927
8758
|
serializedName: "workerId",
|
8928
8759
|
required: true,
|
8929
8760
|
type: {
|
8930
8761
|
name: "String"
|
8931
8762
|
}
|
8932
|
-
}
|
8933
|
-
}
|
8763
|
+
} })
|
8934
8764
|
}
|
8935
8765
|
};
|
8936
8766
|
const AcsRouterJobDeletedEventData = {
|
8937
8767
|
type: {
|
8938
8768
|
name: "Composite",
|
8939
8769
|
className: "AcsRouterJobDeletedEventData",
|
8940
|
-
modelProperties: {
|
8941
|
-
...AcsRouterJobEventData.type.modelProperties
|
8942
|
-
}
|
8770
|
+
modelProperties: Object.assign({}, AcsRouterJobEventData.type.modelProperties)
|
8943
8771
|
}
|
8944
8772
|
};
|
8945
8773
|
const AcsRouterJobExceptionTriggeredEventData = {
|
8946
8774
|
type: {
|
8947
8775
|
name: "Composite",
|
8948
8776
|
className: "AcsRouterJobExceptionTriggeredEventData",
|
8949
|
-
modelProperties: {
|
8950
|
-
...AcsRouterJobEventData.type.modelProperties,
|
8951
|
-
ruleKey: {
|
8777
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { ruleKey: {
|
8952
8778
|
serializedName: "ruleKey",
|
8953
8779
|
required: true,
|
8954
8780
|
type: {
|
8955
8781
|
name: "String"
|
8956
8782
|
}
|
8957
|
-
},
|
8958
|
-
exceptionRuleId: {
|
8783
|
+
}, exceptionRuleId: {
|
8959
8784
|
serializedName: "exceptionRuleId",
|
8960
8785
|
required: true,
|
8961
8786
|
type: {
|
8962
8787
|
name: "String"
|
8963
8788
|
}
|
8964
|
-
}
|
8965
|
-
}
|
8789
|
+
} })
|
8966
8790
|
}
|
8967
8791
|
};
|
8968
8792
|
const AcsRouterJobQueuedEventData = {
|
8969
8793
|
type: {
|
8970
8794
|
name: "Composite",
|
8971
8795
|
className: "AcsRouterJobQueuedEventData",
|
8972
|
-
modelProperties: {
|
8973
|
-
...AcsRouterJobEventData.type.modelProperties,
|
8974
|
-
priority: {
|
8796
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
8975
8797
|
serializedName: "priority",
|
8976
8798
|
required: true,
|
8977
8799
|
type: {
|
8978
8800
|
name: "Number"
|
8979
8801
|
}
|
8980
|
-
},
|
8981
|
-
attachedWorkerSelectors: {
|
8802
|
+
}, attachedWorkerSelectors: {
|
8982
8803
|
serializedName: "attachedWorkerSelectors",
|
8983
8804
|
required: true,
|
8984
8805
|
type: {
|
@@ -8990,8 +8811,7 @@ const AcsRouterJobQueuedEventData = {
|
|
8990
8811
|
}
|
8991
8812
|
}
|
8992
8813
|
}
|
8993
|
-
},
|
8994
|
-
requestedWorkerSelectors: {
|
8814
|
+
}, requestedWorkerSelectors: {
|
8995
8815
|
serializedName: "requestedWorkerSelectors",
|
8996
8816
|
required: true,
|
8997
8817
|
type: {
|
@@ -9003,35 +8823,29 @@ const AcsRouterJobQueuedEventData = {
|
|
9003
8823
|
}
|
9004
8824
|
}
|
9005
8825
|
}
|
9006
|
-
}
|
9007
|
-
}
|
8826
|
+
} })
|
9008
8827
|
}
|
9009
8828
|
};
|
9010
8829
|
const AcsRouterJobReceivedEventData = {
|
9011
8830
|
type: {
|
9012
8831
|
name: "Composite",
|
9013
8832
|
className: "AcsRouterJobReceivedEventData",
|
9014
|
-
modelProperties: {
|
9015
|
-
...AcsRouterJobEventData.type.modelProperties,
|
9016
|
-
jobStatus: {
|
8833
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { jobStatus: {
|
9017
8834
|
serializedName: "jobStatus",
|
9018
8835
|
type: {
|
9019
8836
|
name: "String"
|
9020
8837
|
}
|
9021
|
-
},
|
9022
|
-
classificationPolicyId: {
|
8838
|
+
}, classificationPolicyId: {
|
9023
8839
|
serializedName: "classificationPolicyId",
|
9024
8840
|
type: {
|
9025
8841
|
name: "String"
|
9026
8842
|
}
|
9027
|
-
},
|
9028
|
-
priority: {
|
8843
|
+
}, priority: {
|
9029
8844
|
serializedName: "priority",
|
9030
8845
|
type: {
|
9031
8846
|
name: "Number"
|
9032
8847
|
}
|
9033
|
-
},
|
9034
|
-
requestedWorkerSelectors: {
|
8848
|
+
}, requestedWorkerSelectors: {
|
9035
8849
|
serializedName: "requestedWorkerSelectors",
|
9036
8850
|
type: {
|
9037
8851
|
name: "Sequence",
|
@@ -9042,37 +8856,31 @@ const AcsRouterJobReceivedEventData = {
|
|
9042
8856
|
}
|
9043
8857
|
}
|
9044
8858
|
}
|
9045
|
-
},
|
9046
|
-
scheduledOn: {
|
8859
|
+
}, scheduledOn: {
|
9047
8860
|
serializedName: "scheduledOn",
|
9048
8861
|
type: {
|
9049
8862
|
name: "String"
|
9050
8863
|
}
|
9051
|
-
},
|
9052
|
-
unavailableForMatching: {
|
8864
|
+
}, unavailableForMatching: {
|
9053
8865
|
serializedName: "unavailableForMatching",
|
9054
8866
|
required: true,
|
9055
8867
|
type: {
|
9056
8868
|
name: "Boolean"
|
9057
8869
|
}
|
9058
|
-
}
|
9059
|
-
}
|
8870
|
+
} })
|
9060
8871
|
}
|
9061
8872
|
};
|
9062
8873
|
const AcsRouterJobSchedulingFailedEventData = {
|
9063
8874
|
type: {
|
9064
8875
|
name: "Composite",
|
9065
8876
|
className: "AcsRouterJobSchedulingFailedEventData",
|
9066
|
-
modelProperties: {
|
9067
|
-
...AcsRouterJobEventData.type.modelProperties,
|
9068
|
-
priority: {
|
8877
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
9069
8878
|
serializedName: "priority",
|
9070
8879
|
required: true,
|
9071
8880
|
type: {
|
9072
8881
|
name: "Number"
|
9073
8882
|
}
|
9074
|
-
},
|
9075
|
-
expiredAttachedWorkerSelectors: {
|
8883
|
+
}, expiredAttachedWorkerSelectors: {
|
9076
8884
|
serializedName: "expiredAttachedWorkerSelectors",
|
9077
8885
|
required: true,
|
9078
8886
|
type: {
|
@@ -9084,8 +8892,7 @@ const AcsRouterJobSchedulingFailedEventData = {
|
|
9084
8892
|
}
|
9085
8893
|
}
|
9086
8894
|
}
|
9087
|
-
},
|
9088
|
-
expiredRequestedWorkerSelectors: {
|
8895
|
+
}, expiredRequestedWorkerSelectors: {
|
9089
8896
|
serializedName: "expiredRequestedWorkerSelectors",
|
9090
8897
|
required: true,
|
9091
8898
|
type: {
|
@@ -9097,60 +8904,50 @@ const AcsRouterJobSchedulingFailedEventData = {
|
|
9097
8904
|
}
|
9098
8905
|
}
|
9099
8906
|
}
|
9100
|
-
},
|
9101
|
-
scheduledOn: {
|
8907
|
+
}, scheduledOn: {
|
9102
8908
|
serializedName: "scheduledOn",
|
9103
8909
|
required: true,
|
9104
8910
|
type: {
|
9105
8911
|
name: "String"
|
9106
8912
|
}
|
9107
|
-
},
|
9108
|
-
failureReason: {
|
8913
|
+
}, failureReason: {
|
9109
8914
|
serializedName: "failureReason",
|
9110
8915
|
required: true,
|
9111
8916
|
type: {
|
9112
8917
|
name: "String"
|
9113
8918
|
}
|
9114
|
-
}
|
9115
|
-
}
|
8919
|
+
} })
|
9116
8920
|
}
|
9117
8921
|
};
|
9118
8922
|
const AcsRouterJobUnassignedEventData = {
|
9119
8923
|
type: {
|
9120
8924
|
name: "Composite",
|
9121
8925
|
className: "AcsRouterJobUnassignedEventData",
|
9122
|
-
modelProperties: {
|
9123
|
-
...AcsRouterJobEventData.type.modelProperties,
|
9124
|
-
assignmentId: {
|
8926
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { assignmentId: {
|
9125
8927
|
serializedName: "assignmentId",
|
9126
8928
|
required: true,
|
9127
8929
|
type: {
|
9128
8930
|
name: "String"
|
9129
8931
|
}
|
9130
|
-
},
|
9131
|
-
workerId: {
|
8932
|
+
}, workerId: {
|
9132
8933
|
serializedName: "workerId",
|
9133
8934
|
required: true,
|
9134
8935
|
type: {
|
9135
8936
|
name: "String"
|
9136
8937
|
}
|
9137
|
-
}
|
9138
|
-
}
|
8938
|
+
} })
|
9139
8939
|
}
|
9140
8940
|
};
|
9141
8941
|
const AcsRouterJobWaitingForActivationEventData = {
|
9142
8942
|
type: {
|
9143
8943
|
name: "Composite",
|
9144
8944
|
className: "AcsRouterJobWaitingForActivationEventData",
|
9145
|
-
modelProperties: {
|
9146
|
-
...AcsRouterJobEventData.type.modelProperties,
|
9147
|
-
priority: {
|
8945
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { priority: {
|
9148
8946
|
serializedName: "priority",
|
9149
8947
|
type: {
|
9150
8948
|
name: "Number"
|
9151
8949
|
}
|
9152
|
-
},
|
9153
|
-
expiredAttachedWorkerSelectors: {
|
8950
|
+
}, expiredAttachedWorkerSelectors: {
|
9154
8951
|
serializedName: "expiredAttachedWorkerSelectors",
|
9155
8952
|
type: {
|
9156
8953
|
name: "Sequence",
|
@@ -9161,8 +8958,7 @@ const AcsRouterJobWaitingForActivationEventData = {
|
|
9161
8958
|
}
|
9162
8959
|
}
|
9163
8960
|
}
|
9164
|
-
},
|
9165
|
-
expiredRequestedWorkerSelectors: {
|
8961
|
+
}, expiredRequestedWorkerSelectors: {
|
9166
8962
|
serializedName: "expiredRequestedWorkerSelectors",
|
9167
8963
|
type: {
|
9168
8964
|
name: "Sequence",
|
@@ -9173,30 +8969,25 @@ const AcsRouterJobWaitingForActivationEventData = {
|
|
9173
8969
|
}
|
9174
8970
|
}
|
9175
8971
|
}
|
9176
|
-
},
|
9177
|
-
scheduledOn: {
|
8972
|
+
}, scheduledOn: {
|
9178
8973
|
serializedName: "scheduledOn",
|
9179
8974
|
type: {
|
9180
8975
|
name: "String"
|
9181
8976
|
}
|
9182
|
-
},
|
9183
|
-
unavailableForMatching: {
|
8977
|
+
}, unavailableForMatching: {
|
9184
8978
|
serializedName: "unavailableForMatching",
|
9185
8979
|
required: true,
|
9186
8980
|
type: {
|
9187
8981
|
name: "Boolean"
|
9188
8982
|
}
|
9189
|
-
}
|
9190
|
-
}
|
8983
|
+
} })
|
9191
8984
|
}
|
9192
8985
|
};
|
9193
8986
|
const AcsRouterJobWorkerSelectorsExpiredEventData = {
|
9194
8987
|
type: {
|
9195
8988
|
name: "Composite",
|
9196
8989
|
className: "AcsRouterJobWorkerSelectorsExpiredEventData",
|
9197
|
-
modelProperties: {
|
9198
|
-
...AcsRouterJobEventData.type.modelProperties,
|
9199
|
-
expiredRequestedWorkerSelectors: {
|
8990
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterJobEventData.type.modelProperties), { expiredRequestedWorkerSelectors: {
|
9200
8991
|
serializedName: "expiredRequestedWorkerSelectors",
|
9201
8992
|
required: true,
|
9202
8993
|
type: {
|
@@ -9208,8 +8999,7 @@ const AcsRouterJobWorkerSelectorsExpiredEventData = {
|
|
9208
8999
|
}
|
9209
9000
|
}
|
9210
9001
|
}
|
9211
|
-
},
|
9212
|
-
expiredAttachedWorkerSelectors: {
|
9002
|
+
}, expiredAttachedWorkerSelectors: {
|
9213
9003
|
serializedName: "expiredAttachedWorkerSelectors",
|
9214
9004
|
required: true,
|
9215
9005
|
type: {
|
@@ -9221,334 +9011,281 @@ const AcsRouterJobWorkerSelectorsExpiredEventData = {
|
|
9221
9011
|
}
|
9222
9012
|
}
|
9223
9013
|
}
|
9224
|
-
}
|
9225
|
-
}
|
9014
|
+
} })
|
9226
9015
|
}
|
9227
9016
|
};
|
9228
9017
|
const AcsRouterWorkerDeletedEventData = {
|
9229
9018
|
type: {
|
9230
9019
|
name: "Composite",
|
9231
9020
|
className: "AcsRouterWorkerDeletedEventData",
|
9232
|
-
modelProperties: {
|
9233
|
-
...AcsRouterWorkerEventData.type.modelProperties
|
9234
|
-
}
|
9021
|
+
modelProperties: Object.assign({}, AcsRouterWorkerEventData.type.modelProperties)
|
9235
9022
|
}
|
9236
9023
|
};
|
9237
9024
|
const AcsRouterWorkerOfferAcceptedEventData = {
|
9238
9025
|
type: {
|
9239
9026
|
name: "Composite",
|
9240
9027
|
className: "AcsRouterWorkerOfferAcceptedEventData",
|
9241
|
-
modelProperties: {
|
9242
|
-
...AcsRouterWorkerEventData.type.modelProperties,
|
9243
|
-
queueId: {
|
9028
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9244
9029
|
serializedName: "queueId",
|
9245
9030
|
required: true,
|
9246
9031
|
type: {
|
9247
9032
|
name: "String"
|
9248
9033
|
}
|
9249
|
-
},
|
9250
|
-
offerId: {
|
9034
|
+
}, offerId: {
|
9251
9035
|
serializedName: "offerId",
|
9252
9036
|
required: true,
|
9253
9037
|
type: {
|
9254
9038
|
name: "String"
|
9255
9039
|
}
|
9256
|
-
},
|
9257
|
-
assignmentId: {
|
9040
|
+
}, assignmentId: {
|
9258
9041
|
serializedName: "assignmentId",
|
9259
9042
|
required: true,
|
9260
9043
|
type: {
|
9261
9044
|
name: "String"
|
9262
9045
|
}
|
9263
|
-
},
|
9264
|
-
jobPriority: {
|
9046
|
+
}, jobPriority: {
|
9265
9047
|
serializedName: "jobPriority",
|
9266
9048
|
required: true,
|
9267
9049
|
type: {
|
9268
9050
|
name: "Number"
|
9269
9051
|
}
|
9270
|
-
},
|
9271
|
-
workerLabels: {
|
9052
|
+
}, workerLabels: {
|
9272
9053
|
serializedName: "workerLabels",
|
9273
9054
|
required: true,
|
9274
9055
|
type: {
|
9275
9056
|
name: "Dictionary",
|
9276
9057
|
value: { type: { name: "String" } }
|
9277
9058
|
}
|
9278
|
-
},
|
9279
|
-
workerTags: {
|
9059
|
+
}, workerTags: {
|
9280
9060
|
serializedName: "workerTags",
|
9281
9061
|
required: true,
|
9282
9062
|
type: {
|
9283
9063
|
name: "Dictionary",
|
9284
9064
|
value: { type: { name: "String" } }
|
9285
9065
|
}
|
9286
|
-
},
|
9287
|
-
jobLabels: {
|
9066
|
+
}, jobLabels: {
|
9288
9067
|
serializedName: "jobLabels",
|
9289
9068
|
required: true,
|
9290
9069
|
type: {
|
9291
9070
|
name: "Dictionary",
|
9292
9071
|
value: { type: { name: "String" } }
|
9293
9072
|
}
|
9294
|
-
},
|
9295
|
-
jobTags: {
|
9073
|
+
}, jobTags: {
|
9296
9074
|
serializedName: "jobTags",
|
9297
9075
|
required: true,
|
9298
9076
|
type: {
|
9299
9077
|
name: "Dictionary",
|
9300
9078
|
value: { type: { name: "String" } }
|
9301
9079
|
}
|
9302
|
-
}
|
9303
|
-
}
|
9080
|
+
} })
|
9304
9081
|
}
|
9305
9082
|
};
|
9306
9083
|
const AcsRouterWorkerOfferDeclinedEventData = {
|
9307
9084
|
type: {
|
9308
9085
|
name: "Composite",
|
9309
9086
|
className: "AcsRouterWorkerOfferDeclinedEventData",
|
9310
|
-
modelProperties: {
|
9311
|
-
...AcsRouterWorkerEventData.type.modelProperties,
|
9312
|
-
queueId: {
|
9087
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9313
9088
|
serializedName: "queueId",
|
9314
9089
|
required: true,
|
9315
9090
|
type: {
|
9316
9091
|
name: "String"
|
9317
9092
|
}
|
9318
|
-
},
|
9319
|
-
offerId: {
|
9093
|
+
}, offerId: {
|
9320
9094
|
serializedName: "offerId",
|
9321
9095
|
required: true,
|
9322
9096
|
type: {
|
9323
9097
|
name: "String"
|
9324
9098
|
}
|
9325
|
-
}
|
9326
|
-
}
|
9099
|
+
} })
|
9327
9100
|
}
|
9328
9101
|
};
|
9329
9102
|
const AcsRouterWorkerOfferExpiredEventData = {
|
9330
9103
|
type: {
|
9331
9104
|
name: "Composite",
|
9332
9105
|
className: "AcsRouterWorkerOfferExpiredEventData",
|
9333
|
-
modelProperties: {
|
9334
|
-
...AcsRouterWorkerEventData.type.modelProperties,
|
9335
|
-
queueId: {
|
9106
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9336
9107
|
serializedName: "queueId",
|
9337
9108
|
required: true,
|
9338
9109
|
type: {
|
9339
9110
|
name: "String"
|
9340
9111
|
}
|
9341
|
-
},
|
9342
|
-
offerId: {
|
9112
|
+
}, offerId: {
|
9343
9113
|
serializedName: "offerId",
|
9344
9114
|
required: true,
|
9345
9115
|
type: {
|
9346
9116
|
name: "String"
|
9347
9117
|
}
|
9348
|
-
}
|
9349
|
-
}
|
9118
|
+
} })
|
9350
9119
|
}
|
9351
9120
|
};
|
9352
9121
|
const AcsRouterWorkerOfferIssuedEventData = {
|
9353
9122
|
type: {
|
9354
9123
|
name: "Composite",
|
9355
9124
|
className: "AcsRouterWorkerOfferIssuedEventData",
|
9356
|
-
modelProperties: {
|
9357
|
-
...AcsRouterWorkerEventData.type.modelProperties,
|
9358
|
-
queueId: {
|
9125
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9359
9126
|
serializedName: "queueId",
|
9360
9127
|
required: true,
|
9361
9128
|
type: {
|
9362
9129
|
name: "String"
|
9363
9130
|
}
|
9364
|
-
},
|
9365
|
-
offerId: {
|
9131
|
+
}, offerId: {
|
9366
9132
|
serializedName: "offerId",
|
9367
9133
|
required: true,
|
9368
9134
|
type: {
|
9369
9135
|
name: "String"
|
9370
9136
|
}
|
9371
|
-
},
|
9372
|
-
jobPriority: {
|
9137
|
+
}, jobPriority: {
|
9373
9138
|
serializedName: "jobPriority",
|
9374
9139
|
required: true,
|
9375
9140
|
type: {
|
9376
9141
|
name: "Number"
|
9377
9142
|
}
|
9378
|
-
},
|
9379
|
-
workerLabels: {
|
9143
|
+
}, workerLabels: {
|
9380
9144
|
serializedName: "workerLabels",
|
9381
9145
|
required: true,
|
9382
9146
|
type: {
|
9383
9147
|
name: "Dictionary",
|
9384
9148
|
value: { type: { name: "String" } }
|
9385
9149
|
}
|
9386
|
-
},
|
9387
|
-
offeredOn: {
|
9150
|
+
}, offeredOn: {
|
9388
9151
|
serializedName: "offeredOn",
|
9389
9152
|
required: true,
|
9390
9153
|
type: {
|
9391
9154
|
name: "String"
|
9392
9155
|
}
|
9393
|
-
},
|
9394
|
-
expiresOn: {
|
9156
|
+
}, expiresOn: {
|
9395
9157
|
serializedName: "expiresOn",
|
9396
9158
|
required: true,
|
9397
9159
|
type: {
|
9398
9160
|
name: "String"
|
9399
9161
|
}
|
9400
|
-
},
|
9401
|
-
workerTags: {
|
9162
|
+
}, workerTags: {
|
9402
9163
|
serializedName: "workerTags",
|
9403
9164
|
required: true,
|
9404
9165
|
type: {
|
9405
9166
|
name: "Dictionary",
|
9406
9167
|
value: { type: { name: "String" } }
|
9407
9168
|
}
|
9408
|
-
},
|
9409
|
-
jobLabels: {
|
9169
|
+
}, jobLabels: {
|
9410
9170
|
serializedName: "jobLabels",
|
9411
9171
|
required: true,
|
9412
9172
|
type: {
|
9413
9173
|
name: "Dictionary",
|
9414
9174
|
value: { type: { name: "String" } }
|
9415
9175
|
}
|
9416
|
-
},
|
9417
|
-
jobTags: {
|
9176
|
+
}, jobTags: {
|
9418
9177
|
serializedName: "jobTags",
|
9419
9178
|
required: true,
|
9420
9179
|
type: {
|
9421
9180
|
name: "Dictionary",
|
9422
9181
|
value: { type: { name: "String" } }
|
9423
9182
|
}
|
9424
|
-
}
|
9425
|
-
}
|
9183
|
+
} })
|
9426
9184
|
}
|
9427
9185
|
};
|
9428
9186
|
const AcsRouterWorkerOfferRevokedEventData = {
|
9429
9187
|
type: {
|
9430
9188
|
name: "Composite",
|
9431
9189
|
className: "AcsRouterWorkerOfferRevokedEventData",
|
9432
|
-
modelProperties: {
|
9433
|
-
...AcsRouterWorkerEventData.type.modelProperties,
|
9434
|
-
queueId: {
|
9190
|
+
modelProperties: Object.assign(Object.assign({}, AcsRouterWorkerEventData.type.modelProperties), { queueId: {
|
9435
9191
|
serializedName: "queueId",
|
9436
9192
|
required: true,
|
9437
9193
|
type: {
|
9438
9194
|
name: "String"
|
9439
9195
|
}
|
9440
|
-
},
|
9441
|
-
offerId: {
|
9196
|
+
}, offerId: {
|
9442
9197
|
serializedName: "offerId",
|
9443
9198
|
required: true,
|
9444
9199
|
type: {
|
9445
9200
|
name: "String"
|
9446
9201
|
}
|
9447
|
-
}
|
9448
|
-
}
|
9202
|
+
} })
|
9449
9203
|
}
|
9450
9204
|
};
|
9451
9205
|
const AcsChatMessageReceivedEventData = {
|
9452
9206
|
type: {
|
9453
9207
|
name: "Composite",
|
9454
9208
|
className: "AcsChatMessageReceivedEventData",
|
9455
|
-
modelProperties: {
|
9456
|
-
...AcsChatMessageEventBase.type.modelProperties,
|
9457
|
-
messageBody: {
|
9209
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatMessageEventBase.type.modelProperties), { messageBody: {
|
9458
9210
|
serializedName: "messageBody",
|
9459
9211
|
required: true,
|
9460
9212
|
type: {
|
9461
9213
|
name: "String"
|
9462
9214
|
}
|
9463
|
-
},
|
9464
|
-
metadata: {
|
9215
|
+
}, metadata: {
|
9465
9216
|
serializedName: "metadata",
|
9466
9217
|
required: true,
|
9467
9218
|
type: {
|
9468
9219
|
name: "Dictionary",
|
9469
9220
|
value: { type: { name: "String" } }
|
9470
9221
|
}
|
9471
|
-
}
|
9472
|
-
}
|
9222
|
+
} })
|
9473
9223
|
}
|
9474
9224
|
};
|
9475
9225
|
const AcsChatMessageEditedEventData = {
|
9476
9226
|
type: {
|
9477
9227
|
name: "Composite",
|
9478
9228
|
className: "AcsChatMessageEditedEventData",
|
9479
|
-
modelProperties: {
|
9480
|
-
...AcsChatMessageEventBase.type.modelProperties,
|
9481
|
-
messageBody: {
|
9229
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatMessageEventBase.type.modelProperties), { messageBody: {
|
9482
9230
|
serializedName: "messageBody",
|
9483
9231
|
required: true,
|
9484
9232
|
type: {
|
9485
9233
|
name: "String"
|
9486
9234
|
}
|
9487
|
-
},
|
9488
|
-
metadata: {
|
9235
|
+
}, metadata: {
|
9489
9236
|
serializedName: "metadata",
|
9490
9237
|
required: true,
|
9491
9238
|
type: {
|
9492
9239
|
name: "Dictionary",
|
9493
9240
|
value: { type: { name: "String" } }
|
9494
9241
|
}
|
9495
|
-
},
|
9496
|
-
editTime: {
|
9242
|
+
}, editTime: {
|
9497
9243
|
serializedName: "editTime",
|
9498
9244
|
required: true,
|
9499
9245
|
type: {
|
9500
9246
|
name: "String"
|
9501
9247
|
}
|
9502
|
-
}
|
9503
|
-
}
|
9248
|
+
} })
|
9504
9249
|
}
|
9505
9250
|
};
|
9506
9251
|
const AcsChatMessageDeletedEventData = {
|
9507
9252
|
type: {
|
9508
9253
|
name: "Composite",
|
9509
9254
|
className: "AcsChatMessageDeletedEventData",
|
9510
|
-
modelProperties: {
|
9511
|
-
...AcsChatMessageEventBase.type.modelProperties,
|
9512
|
-
deleteTime: {
|
9255
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatMessageEventBase.type.modelProperties), { deleteTime: {
|
9513
9256
|
serializedName: "deleteTime",
|
9514
9257
|
required: true,
|
9515
9258
|
type: {
|
9516
9259
|
name: "String"
|
9517
9260
|
}
|
9518
|
-
}
|
9519
|
-
}
|
9261
|
+
} })
|
9520
9262
|
}
|
9521
9263
|
};
|
9522
9264
|
const AcsChatThreadCreatedWithUserEventData = {
|
9523
9265
|
type: {
|
9524
9266
|
name: "Composite",
|
9525
9267
|
className: "AcsChatThreadCreatedWithUserEventData",
|
9526
|
-
modelProperties: {
|
9527
|
-
...AcsChatThreadEventBase.type.modelProperties,
|
9528
|
-
createdByCommunicationIdentifier: {
|
9268
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventBase.type.modelProperties), { createdByCommunicationIdentifier: {
|
9529
9269
|
serializedName: "createdByCommunicationIdentifier",
|
9530
9270
|
type: {
|
9531
9271
|
name: "Composite",
|
9532
9272
|
className: "CommunicationIdentifierModel"
|
9533
9273
|
}
|
9534
|
-
},
|
9535
|
-
properties: {
|
9274
|
+
}, properties: {
|
9536
9275
|
serializedName: "properties",
|
9537
9276
|
required: true,
|
9538
9277
|
type: {
|
9539
9278
|
name: "Dictionary",
|
9540
9279
|
value: { type: { name: "any" } }
|
9541
9280
|
}
|
9542
|
-
},
|
9543
|
-
metadata: {
|
9281
|
+
}, metadata: {
|
9544
9282
|
serializedName: "metadata",
|
9545
9283
|
required: true,
|
9546
9284
|
type: {
|
9547
9285
|
name: "Dictionary",
|
9548
9286
|
value: { type: { name: "String" } }
|
9549
9287
|
}
|
9550
|
-
},
|
9551
|
-
participants: {
|
9288
|
+
}, participants: {
|
9552
9289
|
serializedName: "participants",
|
9553
9290
|
required: true,
|
9554
9291
|
type: {
|
@@ -9560,225 +9297,188 @@ const AcsChatThreadCreatedWithUserEventData = {
|
|
9560
9297
|
}
|
9561
9298
|
}
|
9562
9299
|
}
|
9563
|
-
}
|
9564
|
-
}
|
9300
|
+
} })
|
9565
9301
|
}
|
9566
9302
|
};
|
9567
9303
|
const AcsChatThreadWithUserDeletedEventData = {
|
9568
9304
|
type: {
|
9569
9305
|
name: "Composite",
|
9570
9306
|
className: "AcsChatThreadWithUserDeletedEventData",
|
9571
|
-
modelProperties: {
|
9572
|
-
...AcsChatThreadEventBase.type.modelProperties,
|
9573
|
-
deletedByCommunicationIdentifier: {
|
9307
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventBase.type.modelProperties), { deletedByCommunicationIdentifier: {
|
9574
9308
|
serializedName: "deletedByCommunicationIdentifier",
|
9575
9309
|
type: {
|
9576
9310
|
name: "Composite",
|
9577
9311
|
className: "CommunicationIdentifierModel"
|
9578
9312
|
}
|
9579
|
-
},
|
9580
|
-
deleteTime: {
|
9313
|
+
}, deleteTime: {
|
9581
9314
|
serializedName: "deleteTime",
|
9582
9315
|
required: true,
|
9583
9316
|
type: {
|
9584
9317
|
name: "String"
|
9585
9318
|
}
|
9586
|
-
}
|
9587
|
-
}
|
9319
|
+
} })
|
9588
9320
|
}
|
9589
9321
|
};
|
9590
9322
|
const AcsChatThreadPropertiesUpdatedPerUserEventData = {
|
9591
9323
|
type: {
|
9592
9324
|
name: "Composite",
|
9593
9325
|
className: "AcsChatThreadPropertiesUpdatedPerUserEventData",
|
9594
|
-
modelProperties: {
|
9595
|
-
...AcsChatThreadEventBase.type.modelProperties,
|
9596
|
-
editedByCommunicationIdentifier: {
|
9326
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventBase.type.modelProperties), { editedByCommunicationIdentifier: {
|
9597
9327
|
serializedName: "editedByCommunicationIdentifier",
|
9598
9328
|
type: {
|
9599
9329
|
name: "Composite",
|
9600
9330
|
className: "CommunicationIdentifierModel"
|
9601
9331
|
}
|
9602
|
-
},
|
9603
|
-
editTime: {
|
9332
|
+
}, editTime: {
|
9604
9333
|
serializedName: "editTime",
|
9605
9334
|
required: true,
|
9606
9335
|
type: {
|
9607
9336
|
name: "String"
|
9608
9337
|
}
|
9609
|
-
},
|
9610
|
-
metadata: {
|
9338
|
+
}, metadata: {
|
9611
9339
|
serializedName: "metadata",
|
9612
9340
|
required: true,
|
9613
9341
|
type: {
|
9614
9342
|
name: "Dictionary",
|
9615
9343
|
value: { type: { name: "String" } }
|
9616
9344
|
}
|
9617
|
-
},
|
9618
|
-
properties: {
|
9345
|
+
}, properties: {
|
9619
9346
|
serializedName: "properties",
|
9620
9347
|
required: true,
|
9621
9348
|
type: {
|
9622
9349
|
name: "Dictionary",
|
9623
9350
|
value: { type: { name: "any" } }
|
9624
9351
|
}
|
9625
|
-
}
|
9626
|
-
}
|
9352
|
+
} })
|
9627
9353
|
}
|
9628
9354
|
};
|
9629
9355
|
const AcsChatParticipantAddedToThreadWithUserEventData = {
|
9630
9356
|
type: {
|
9631
9357
|
name: "Composite",
|
9632
9358
|
className: "AcsChatParticipantAddedToThreadWithUserEventData",
|
9633
|
-
modelProperties: {
|
9634
|
-
...AcsChatThreadEventBase.type.modelProperties,
|
9635
|
-
time: {
|
9359
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventBase.type.modelProperties), { time: {
|
9636
9360
|
serializedName: "time",
|
9637
9361
|
required: true,
|
9638
9362
|
type: {
|
9639
9363
|
name: "String"
|
9640
9364
|
}
|
9641
|
-
},
|
9642
|
-
addedByCommunicationIdentifier: {
|
9365
|
+
}, addedByCommunicationIdentifier: {
|
9643
9366
|
serializedName: "addedByCommunicationIdentifier",
|
9644
9367
|
type: {
|
9645
9368
|
name: "Composite",
|
9646
9369
|
className: "CommunicationIdentifierModel"
|
9647
9370
|
}
|
9648
|
-
},
|
9649
|
-
participantAdded: {
|
9371
|
+
}, participantAdded: {
|
9650
9372
|
serializedName: "participantAdded",
|
9651
9373
|
type: {
|
9652
9374
|
name: "Composite",
|
9653
9375
|
className: "AcsChatThreadParticipant"
|
9654
9376
|
}
|
9655
|
-
}
|
9656
|
-
}
|
9377
|
+
} })
|
9657
9378
|
}
|
9658
9379
|
};
|
9659
9380
|
const AcsChatParticipantRemovedFromThreadWithUserEventData = {
|
9660
9381
|
type: {
|
9661
9382
|
name: "Composite",
|
9662
9383
|
className: "AcsChatParticipantRemovedFromThreadWithUserEventData",
|
9663
|
-
modelProperties: {
|
9664
|
-
...AcsChatThreadEventBase.type.modelProperties,
|
9665
|
-
time: {
|
9384
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventBase.type.modelProperties), { time: {
|
9666
9385
|
serializedName: "time",
|
9667
9386
|
required: true,
|
9668
9387
|
type: {
|
9669
9388
|
name: "String"
|
9670
9389
|
}
|
9671
|
-
},
|
9672
|
-
removedByCommunicationIdentifier: {
|
9390
|
+
}, removedByCommunicationIdentifier: {
|
9673
9391
|
serializedName: "removedByCommunicationIdentifier",
|
9674
9392
|
type: {
|
9675
9393
|
name: "Composite",
|
9676
9394
|
className: "CommunicationIdentifierModel"
|
9677
9395
|
}
|
9678
|
-
},
|
9679
|
-
participantRemoved: {
|
9396
|
+
}, participantRemoved: {
|
9680
9397
|
serializedName: "participantRemoved",
|
9681
9398
|
type: {
|
9682
9399
|
name: "Composite",
|
9683
9400
|
className: "AcsChatThreadParticipant"
|
9684
9401
|
}
|
9685
|
-
}
|
9686
|
-
}
|
9402
|
+
} })
|
9687
9403
|
}
|
9688
9404
|
};
|
9689
9405
|
const AcsChatMessageReceivedInThreadEventData = {
|
9690
9406
|
type: {
|
9691
9407
|
name: "Composite",
|
9692
9408
|
className: "AcsChatMessageReceivedInThreadEventData",
|
9693
|
-
modelProperties: {
|
9694
|
-
...AcsChatMessageEventInThreadBase.type.modelProperties,
|
9695
|
-
messageBody: {
|
9409
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatMessageEventInThreadBase.type.modelProperties), { messageBody: {
|
9696
9410
|
serializedName: "messageBody",
|
9697
9411
|
required: true,
|
9698
9412
|
type: {
|
9699
9413
|
name: "String"
|
9700
9414
|
}
|
9701
|
-
},
|
9702
|
-
metadata: {
|
9415
|
+
}, metadata: {
|
9703
9416
|
serializedName: "metadata",
|
9704
9417
|
required: true,
|
9705
9418
|
type: {
|
9706
9419
|
name: "Dictionary",
|
9707
9420
|
value: { type: { name: "String" } }
|
9708
9421
|
}
|
9709
|
-
}
|
9710
|
-
}
|
9422
|
+
} })
|
9711
9423
|
}
|
9712
9424
|
};
|
9713
9425
|
const AcsChatMessageEditedInThreadEventData = {
|
9714
9426
|
type: {
|
9715
9427
|
name: "Composite",
|
9716
9428
|
className: "AcsChatMessageEditedInThreadEventData",
|
9717
|
-
modelProperties: {
|
9718
|
-
...AcsChatMessageEventInThreadBase.type.modelProperties,
|
9719
|
-
messageBody: {
|
9429
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatMessageEventInThreadBase.type.modelProperties), { messageBody: {
|
9720
9430
|
serializedName: "messageBody",
|
9721
9431
|
required: true,
|
9722
9432
|
type: {
|
9723
9433
|
name: "String"
|
9724
9434
|
}
|
9725
|
-
},
|
9726
|
-
metadata: {
|
9435
|
+
}, metadata: {
|
9727
9436
|
serializedName: "metadata",
|
9728
9437
|
required: true,
|
9729
9438
|
type: {
|
9730
9439
|
name: "Dictionary",
|
9731
9440
|
value: { type: { name: "String" } }
|
9732
9441
|
}
|
9733
|
-
},
|
9734
|
-
editTime: {
|
9442
|
+
}, editTime: {
|
9735
9443
|
serializedName: "editTime",
|
9736
9444
|
required: true,
|
9737
9445
|
type: {
|
9738
9446
|
name: "String"
|
9739
9447
|
}
|
9740
|
-
}
|
9741
|
-
}
|
9448
|
+
} })
|
9742
9449
|
}
|
9743
9450
|
};
|
9744
9451
|
const AcsChatMessageDeletedInThreadEventData = {
|
9745
9452
|
type: {
|
9746
9453
|
name: "Composite",
|
9747
9454
|
className: "AcsChatMessageDeletedInThreadEventData",
|
9748
|
-
modelProperties: {
|
9749
|
-
...AcsChatMessageEventInThreadBase.type.modelProperties,
|
9750
|
-
deleteTime: {
|
9455
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatMessageEventInThreadBase.type.modelProperties), { deleteTime: {
|
9751
9456
|
serializedName: "deleteTime",
|
9752
9457
|
required: true,
|
9753
9458
|
type: {
|
9754
9459
|
name: "String"
|
9755
9460
|
}
|
9756
|
-
}
|
9757
|
-
}
|
9461
|
+
} })
|
9758
9462
|
}
|
9759
9463
|
};
|
9760
9464
|
const AcsChatThreadCreatedEventData = {
|
9761
9465
|
type: {
|
9762
9466
|
name: "Composite",
|
9763
9467
|
className: "AcsChatThreadCreatedEventData",
|
9764
|
-
modelProperties: {
|
9765
|
-
...AcsChatThreadEventInThreadBase.type.modelProperties,
|
9766
|
-
createdByCommunicationIdentifier: {
|
9468
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventInThreadBase.type.modelProperties), { createdByCommunicationIdentifier: {
|
9767
9469
|
serializedName: "createdByCommunicationIdentifier",
|
9768
9470
|
type: {
|
9769
9471
|
name: "Composite",
|
9770
9472
|
className: "CommunicationIdentifierModel"
|
9771
9473
|
}
|
9772
|
-
},
|
9773
|
-
properties: {
|
9474
|
+
}, properties: {
|
9774
9475
|
serializedName: "properties",
|
9775
9476
|
required: true,
|
9776
9477
|
type: {
|
9777
9478
|
name: "Dictionary",
|
9778
9479
|
value: { type: { name: "any" } }
|
9779
9480
|
}
|
9780
|
-
},
|
9781
|
-
participants: {
|
9481
|
+
}, participants: {
|
9782
9482
|
serializedName: "participants",
|
9783
9483
|
required: true,
|
9784
9484
|
type: {
|
@@ -9790,70 +9490,59 @@ const AcsChatThreadCreatedEventData = {
|
|
9790
9490
|
}
|
9791
9491
|
}
|
9792
9492
|
}
|
9793
|
-
}
|
9794
|
-
}
|
9493
|
+
} })
|
9795
9494
|
}
|
9796
9495
|
};
|
9797
9496
|
const AcsChatThreadDeletedEventData = {
|
9798
9497
|
type: {
|
9799
9498
|
name: "Composite",
|
9800
9499
|
className: "AcsChatThreadDeletedEventData",
|
9801
|
-
modelProperties: {
|
9802
|
-
...AcsChatThreadEventInThreadBase.type.modelProperties,
|
9803
|
-
deletedByCommunicationIdentifier: {
|
9500
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventInThreadBase.type.modelProperties), { deletedByCommunicationIdentifier: {
|
9804
9501
|
serializedName: "deletedByCommunicationIdentifier",
|
9805
9502
|
type: {
|
9806
9503
|
name: "Composite",
|
9807
9504
|
className: "CommunicationIdentifierModel"
|
9808
9505
|
}
|
9809
|
-
},
|
9810
|
-
deleteTime: {
|
9506
|
+
}, deleteTime: {
|
9811
9507
|
serializedName: "deleteTime",
|
9812
9508
|
required: true,
|
9813
9509
|
type: {
|
9814
9510
|
name: "String"
|
9815
9511
|
}
|
9816
|
-
}
|
9817
|
-
}
|
9512
|
+
} })
|
9818
9513
|
}
|
9819
9514
|
};
|
9820
9515
|
const AcsChatThreadPropertiesUpdatedEventData = {
|
9821
9516
|
type: {
|
9822
9517
|
name: "Composite",
|
9823
9518
|
className: "AcsChatThreadPropertiesUpdatedEventData",
|
9824
|
-
modelProperties: {
|
9825
|
-
...AcsChatThreadEventInThreadBase.type.modelProperties,
|
9826
|
-
editedByCommunicationIdentifier: {
|
9519
|
+
modelProperties: Object.assign(Object.assign({}, AcsChatThreadEventInThreadBase.type.modelProperties), { editedByCommunicationIdentifier: {
|
9827
9520
|
serializedName: "editedByCommunicationIdentifier",
|
9828
9521
|
type: {
|
9829
9522
|
name: "Composite",
|
9830
9523
|
className: "CommunicationIdentifierModel"
|
9831
9524
|
}
|
9832
|
-
},
|
9833
|
-
editTime: {
|
9525
|
+
}, editTime: {
|
9834
9526
|
serializedName: "editTime",
|
9835
9527
|
required: true,
|
9836
9528
|
type: {
|
9837
9529
|
name: "String"
|
9838
9530
|
}
|
9839
|
-
},
|
9840
|
-
properties: {
|
9531
|
+
}, properties: {
|
9841
9532
|
serializedName: "properties",
|
9842
9533
|
required: true,
|
9843
9534
|
type: {
|
9844
9535
|
name: "Dictionary",
|
9845
9536
|
value: { type: { name: "any" } }
|
9846
9537
|
}
|
9847
|
-
},
|
9848
|
-
metadata: {
|
9538
|
+
}, metadata: {
|
9849
9539
|
serializedName: "metadata",
|
9850
9540
|
required: true,
|
9851
9541
|
type: {
|
9852
9542
|
name: "Dictionary",
|
9853
9543
|
value: { type: { name: "String" } }
|
9854
9544
|
}
|
9855
|
-
}
|
9856
|
-
}
|
9545
|
+
} })
|
9857
9546
|
}
|
9858
9547
|
};
|
9859
9548
|
let discriminators = {
|
@@ -10157,14 +9846,9 @@ class GeneratedClientContext extends coreClient__namespace.ServiceClient {
|
|
10157
9846
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
10158
9847
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
10159
9848
|
: `${packageDetails}`;
|
10160
|
-
const optionsWithDefaults = {
|
10161
|
-
...defaults,
|
10162
|
-
...options,
|
10163
|
-
userAgentOptions: {
|
9849
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
10164
9850
|
userAgentPrefix
|
10165
|
-
},
|
10166
|
-
baseUri: options.endpoint || "{topicHostname}"
|
10167
|
-
};
|
9851
|
+
}, baseUri: options.endpoint || "{topicHostname}" });
|
10168
9852
|
super(optionsWithDefaults);
|
10169
9853
|
// Assigning values to Constant parameters
|
10170
9854
|
this.apiVersion = options.apiVersion || "2018-01-01";
|
@@ -10370,7 +10054,7 @@ class EventGridPublisherClient {
|
|
10370
10054
|
// The underlying REST API expects a header named `aeg-channel-name`, and so the generated client
|
10371
10055
|
// expects that options bag has a property called `aegChannelName`, where as we expose it with the
|
10372
10056
|
// friendlier name "channelName". Fix up the impedence mismatch here
|
10373
|
-
const { channelName,
|
10057
|
+
const _a = updatedOptions, { channelName } = _a, sendOptions = tslib.__rest(_a, ["channelName"]);
|
10374
10058
|
if (channelName) {
|
10375
10059
|
sendOptions.aegChannelName = channelName;
|
10376
10060
|
}
|
@@ -10390,10 +10074,11 @@ class EventGridPublisherClient {
|
|
10390
10074
|
* @internal
|
10391
10075
|
*/
|
10392
10076
|
function convertEventGridEventToModelType(event) {
|
10077
|
+
var _a, _b;
|
10393
10078
|
return {
|
10394
10079
|
eventType: event.eventType,
|
10395
|
-
eventTime: event.eventTime
|
10396
|
-
id: event.id
|
10080
|
+
eventTime: (_a = event.eventTime) !== null && _a !== void 0 ? _a : new Date(),
|
10081
|
+
id: (_b = event.id) !== null && _b !== void 0 ? _b : uuid.v4(),
|
10397
10082
|
subject: event.subject,
|
10398
10083
|
topic: event.topic,
|
10399
10084
|
data: event.data,
|
@@ -10404,6 +10089,7 @@ function convertEventGridEventToModelType(event) {
|
|
10404
10089
|
* @internal
|
10405
10090
|
*/
|
10406
10091
|
function convertCloudEventToModelType(event) {
|
10092
|
+
var _a, _b, _c, _d;
|
10407
10093
|
if (event.extensionAttributes) {
|
10408
10094
|
for (const propName in event.extensionAttributes) {
|
10409
10095
|
// Per the cloud events spec: "CloudEvents attribute names MUST consist of lower-case letters ('a' to 'z') or digits ('0' to '9') from the ASCII character set"
|
@@ -10414,16 +10100,7 @@ function convertCloudEventToModelType(event) {
|
|
10414
10100
|
}
|
10415
10101
|
}
|
10416
10102
|
}
|
10417
|
-
const converted = {
|
10418
|
-
specversion: "1.0",
|
10419
|
-
type: event.type,
|
10420
|
-
source: event.source,
|
10421
|
-
id: event.id ?? uuid.v4(),
|
10422
|
-
time: event.time ?? new Date(),
|
10423
|
-
subject: event.subject,
|
10424
|
-
dataschema: event.dataschema,
|
10425
|
-
...(event.extensionAttributes ?? []),
|
10426
|
-
};
|
10103
|
+
const converted = Object.assign({ specversion: "1.0", type: event.type, source: event.source, id: (_a = event.id) !== null && _a !== void 0 ? _a : uuid.v4(), time: (_b = event.time) !== null && _b !== void 0 ? _b : new Date(), subject: event.subject, dataschema: event.dataschema }, ((_c = event.extensionAttributes) !== null && _c !== void 0 ? _c : []));
|
10427
10104
|
if (event.data instanceof Uint8Array) {
|
10428
10105
|
if (!event.datacontenttype) {
|
10429
10106
|
throw new Error("a data content type must be provided when sending an event with binary data");
|
@@ -10432,7 +10109,7 @@ function convertCloudEventToModelType(event) {
|
|
10432
10109
|
converted.dataBase64 = event.data;
|
10433
10110
|
}
|
10434
10111
|
else {
|
10435
|
-
converted.datacontenttype = event.datacontenttype
|
10112
|
+
converted.datacontenttype = (_d = event.datacontenttype) !== null && _d !== void 0 ? _d : "application/json";
|
10436
10113
|
converted.data = event.data;
|
10437
10114
|
}
|
10438
10115
|
return converted;
|
@@ -10461,7 +10138,7 @@ async function sha256Hmac(secret, stringToSign) {
|
|
10461
10138
|
*/
|
10462
10139
|
async function generateSharedAccessSignature(endpointUrl, credential, expiresOnUtc, options) {
|
10463
10140
|
const expiresOnString = dateToServiceTimeString(expiresOnUtc);
|
10464
|
-
const unsignedSas = `r=${encodeURIComponent(`${endpointUrl}?apiVersion=${options
|
10141
|
+
const unsignedSas = `r=${encodeURIComponent(`${endpointUrl}?apiVersion=${(options === null || options === void 0 ? void 0 : options.apiVersion) || DEFAULT_API_VERSION}`)}&e=${encodeURIComponent(expiresOnString)}`;
|
10465
10142
|
return sha256Hmac(credential.key, unsignedSas).then((digest) => `${unsignedSas}&s=${encodeURIComponent(digest)}`);
|
10466
10143
|
}
|
10467
10144
|
|
@@ -10530,7 +10207,7 @@ class EventGridDeserializer {
|
|
10530
10207
|
modelEvent.data = deserialized.dataBase64;
|
10531
10208
|
}
|
10532
10209
|
// Build the "extensionsAttributes" property bag by removing all known top level properties.
|
10533
|
-
const extensionAttributes = {
|
10210
|
+
const extensionAttributes = Object.assign({}, deserialized);
|
10534
10211
|
for (const propName of cloudEventReservedPropertyNames) {
|
10535
10212
|
delete extensionAttributes[propName];
|
10536
10213
|
}
|